/*
 * @author Jordi Mateo
 * @author Sergi Builtrago
 * @author Marc Gonzalez
 * @author Aitor Garcia
 * @version 23.12.2012
 */

package com.example.project;

import android.os.Bundle;
import android.app.Activity;
import android.graphics.PixelFormat;
import android.view.Menu;
import android.view.Window;


public class Splash_patrocinadores extends Activity {
	
	public void onAttachedToWindow() {
        super.onAttachedToWindow();
        Window window = getWindow();
        window.setFormat(PixelFormat.RGBA_8888);
    }
	
	
   

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_splash_patrocinadores);
		CountDown _tik;
	    // It delay the screen for 2.5 seconds and after that switch to YourNextActivity
	    _tik=new CountDown(2500,2500,this,Project_Menu.class);
	    _tik.start();
	    StartAnimations();
	    
	}
	 private void StartAnimations() {
	      
	 
	    }
	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_splash_patrocinadores, menu);
		return true;
	}

}
